package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CENSO_PAZ database table.
 * 
 */
@Entity
@Table(name="CENSO_PAZ")
public class CensoPaz implements Serializable {
	private static final long serialVersionUID = 1L;
	private long id;
	private BigDecimal cantidad;
	private String departamento;
	private Date fecProc;
	private String fgProc;
	private String razonSoc;

    public CensoPaz() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}


	public BigDecimal getCantidad() {
		return this.cantidad;
	}

	public void setCantidad(BigDecimal cantidad) {
		this.cantidad = cantidad;
	}


	@Column(length=30)
	public String getDepartamento() {
		return this.departamento;
	}

	public void setDepartamento(String departamento) {
		this.departamento = departamento;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FEC_PROC")
	public Date getFecProc() {
		return this.fecProc;
	}

	public void setFecProc(Date fecProc) {
		this.fecProc = fecProc;
	}


	@Column(name="FG_PROC", length=1)
	public String getFgProc() {
		return this.fgProc;
	}

	public void setFgProc(String fgProc) {
		this.fgProc = fgProc;
	}


	@Column(name="RAZON_SOC", length=250)
	public String getRazonSoc() {
		return this.razonSoc;
	}

	public void setRazonSoc(String razonSoc) {
		this.razonSoc = razonSoc;
	}

}